﻿using System;

namespace SBPweb.Modules.Smartparts
{
    /// <summary>
    /// This class inherits from the EventArgs class.
    /// Represents a class for the events of the menu.
    /// </summary>
    public class MenuEventArgs : EventArgs
    {

		/// <summary>
		/// Initializes a new MenuEventArgs instance
		/// </summary>
		/// <param name="menu">IMenuItem menu</param>
        public MenuEventArgs(IMenuItem menu)
        {
            Menu = menu;
        }

        /// <summary>
        /// Gets the menuitem of the event.
        /// </summary>
        public IMenuItem Menu;

    }
}